package p.ithorns.integration.dynamic.service;

import org.springframework.stereotype.Service;
import org.springframework.util.ResourceUtils;

import java.io.FileNotFoundException;
import java.net.URL;

/**
 * MainService
 *
 * @author ithorns
 * @version 1.0
 * @date 2021/10/26 13:06
 */
@Service
public class MainService {

    public void load(String module) throws FileNotFoundException {
        URL url = ResourceUtils.getURL("jars/" + module + ".jar");
    }



}
